﻿namespace Jim.K3Cloud;

/// <summary>
/// 数据库列
/// </summary>
public class DbTableColumn
{/// <summary>名称</summary>
    public string Name { get; set; }

    /// <summary>数据类型</summary>
    public string DataType { get; set; }

    /// <summary>长度</summary>
    public int Length { get; set; }

    /// <summary>精度</summary>
    public int Precision { get; set; }

    /// <summary>小数精度</summary>
    public int Scale { get; set; }

    /// <summary>是否允许空值</summary>
    public bool Nullable { get; set; }

    /// <summary>默认值</summary>
    public string DefaultValue { get; set; }
}